System.Array
C# arrays are derived from class System.Array. From that base class, they inherit a number of useful properties and methods.

Some useful Array class methods

Program on Array class Methods
class sample
{
static void Main(string[] args)
{
int[] a = { 56, 20, 12, 21 };
int[,] b ={
{5,2},{3,7},{8,2},{12,43}
};
int[] c = new int[10];
Console.WriteLine("Length of a" + a.Length);
Console.WriteLine("Length of b" + b.Length);
Console.WriteLine("Length of c" + c.Length);
Console.WriteLine("Upper bound" + a.GetUpperBound(0));
Console.WriteLine("Lower Bound" + b.GetLowerBound(1));

            Console.WriteLine ("Index"+Array.IndexOf (a,21));
Console.WriteLine("Number of dimention" + a.Rank);
Console.WriteLine("Number of dimention in dimention" + b.GetLength(1));

Array.Sort(a);

foreach (int k in a)
Console.WriteLine(k);
int s = Array.BinarySearch(a, 20);
Console.WriteLine("Found at " + s);
Array.Reverse(a);
foreach (int k in a)
Console.WriteLine(k);

          
}
}